﻿@model IEnumerable<ApplicationUser>

@{
    ViewBag.Title = "Index";
}

<h2>Index</h2>

<p>
    @Html.ActionLink("Opret bruger", "Create")
</p>
<table class="table">
    <tr>
        <th>Brugernavn</th>
        <th>Email</th>
        <th>Tlf#</th>
        <th>fejl forsøg</th>
        <th>Låst ude?</th>
        @*<th>Låst dato</th>*@
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>@item.UserName</td>
        <td>@Html.DisplayFor(x => item.Email)</td>
        <td>@item.PhoneNumber</td>
        <td>@Html.DisplayFor(x => item.AccessFailedCount)</td>
        <td>@Html.DisplayFor(x => item.LockoutEnabled)</td>
        @*<td>@Html.DisplayFor(x => item.LockoutEndDateUtc)</td>*@
        <td>
            @Html.ActionLink("Edit", "Edit", new { id=item.Id })
        </td>
    </tr>
}

</table>
